<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/8/18
  Time: 20:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--
out是基于缓冲区实现，所以输出会在response之后。
先让out在response之前就要手动刷新。

--%>
<%

    out.print("爱你");
//  response中print和write的区别
//write遇到数字会转码 97——> a ,print 不会
    out.flush();
    response.getWriter().print("我");
    response.getWriter().write("很");
%>
</body>
</html>
